3.25.91 \(\int \frac {\sqrt {a+b x^n}}{x^3} \, dx\) [2491]

Optimal. Leaf size=51 \[ -\frac {\left (a+b x^n\right )^{3/2} \, _2F_1\left (1,\frac {3}{2}-\frac {2}{n};-\frac {2-n}{n};-\frac {b x^n}{a}\right )}{2 a x^2} \]

[Out]

-1/2*(a+b*x^n)^(3/2)*hypergeom([1, 3/2-2/n],[(-2+n)/n],-b*x^n/a)/a/x^2

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 60, normalized size of antiderivative = 1.18, number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {372, 371} \begin {gather*} -\frac {\sqrt {a+b x^n} \, _2F_1\left (-\frac {1}{2},-\frac {2}{n};-\frac {2-n}{n};-\frac {b x^n}{a}\right )}{2 x^2 \sqrt {\frac {b x^n}{a}+1}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Sqrt[a + b*x^n]/x^3,x]

[Out]

-1/2*(Sqrt[a + b*x^n]*Hypergeometric2F1[-1/2, -2/n, -((2 - n)/n), -((b*x^n)/a)])/(x^2*Sqrt[1 + (b*x^n)/a])

Rule 371

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[a^p*((c*x)^(m + 1)/(c*(m + 1)))*Hyperg
eometric2F1[-p, (m + 1)/n, (m + 1)/n + 1, (-b)*(x^n/a)], x] /; FreeQ[{a, b, c, m, n, p}, x] &&  !IGtQ[p, 0] &&
 (ILtQ[p, 0] || GtQ[a, 0])

Rule 372

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[a^IntPart[p]*((a + b*x^n)^FracPart[p]/
(1 + b*(x^n/a))^FracPart[p]), Int[(c*x)^m*(1 + b*(x^n/a))^p, x], x] /; FreeQ[{a, b, c, m, n, p}, x] &&  !IGtQ[
p, 0] &&  !(ILtQ[p, 0] || GtQ[a, 0])

Rubi steps

\begin {align*} \int \frac {\sqrt {a+b x^n}}{x^3} \, dx &=\frac {\sqrt {a+b x^n} \int \frac {\sqrt {1+\frac {b x^n}{a}}}{x^3} \, dx}{\sqrt {1+\frac {b x^n}{a}}}\\ &=-\frac {\sqrt {a+b x^n} \, _2F_1\left (-\frac {1}{2},-\frac {2}{n};-\frac {2-n}{n};-\frac {b x^n}{a}\right )}{2 x^2 \sqrt {1+\frac {b x^n}{a}}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.03, size = 57, normalized size = 1.12 \begin {gather*} -\frac {\sqrt {a+b x^n} \, _2F_1\left (-\frac {1}{2},-\frac {2}{n};1-\frac {2}{n};-\frac {b x^n}{a}\right )}{2 x^2 \sqrt {1+\frac {b x^n}{a}}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[a + b*x^n]/x^3,x]

[Out]

-1/2*(Sqrt[a + b*x^n]*Hypergeometric2F1[-1/2, -2/n, 1 - 2/n, -((b*x^n)/a)])/(x^2*Sqrt[1 + (b*x^n)/a])

________________________________________________________________________________________

Maple [F]
time = 0.00, size = 0, normalized size = 0.00 \[\int \frac {\sqrt {a +b \,x^{n}}}{x^{3}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*x^n)^(1/2)/x^3,x)

[Out]

int((a+b*x^n)^(1/2)/x^3,x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*x^n)^(1/2)/x^3,x, algorithm="maxima")

[Out]

integrate(sqrt(b*x^n + a)/x^3, x)

________________________________________________________________________________________

Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*x^n)^(1/2)/x^3,x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (ha
s polynomial part)

________________________________________________________________________________________

Sympy [C] Result contains complex when optimal does not.
time = 0.64, size = 46, normalized size = 0.90 \begin {gather*} \frac {\sqrt {a} \Gamma \left (- \frac {2}{n}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, - \frac {2}{n} \\ 1 - \frac {2}{n} \end {matrix}\middle | {\frac {b x^{n} e^{i \pi }}{a}} \right )}}{n x^{2} \Gamma \left (1 - \frac {2}{n}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*x**n)**(1/2)/x**3,x)

[Out]

sqrt(a)*gamma(-2/n)*hyper((-1/2, -2/n), (1 - 2/n,), b*x**n*exp_polar(I*pi)/a)/(n*x**2*gamma(1 - 2/n))

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*x^n)^(1/2)/x^3,x, algorithm="giac")

[Out]

integrate(sqrt(b*x^n + a)/x^3, x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {\sqrt {a+b\,x^n}}{x^3} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*x^n)^(1/2)/x^3,x)

[Out]

int((a + b*x^n)^(1/2)/x^3, x)

________________________________________________________________________________________